package com.neusoft.service.impl;

import com.neusoft.entity.SettleCategory;
import com.neusoft.mapper.SettleCategoryMapper;
import com.neusoft.service.SettleCategoryService;
import com.neusoft.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author akemihomurasama
 */
@Service
public class SettleCategoryServiceImpl implements SettleCategoryService {
    @Autowired
    private SettleCategoryMapper settleCategoryMapper;

    /**
     * 查询结算类别列表
     *
     * @return 结算类别列表
     */
    @Override
    public Result queryCategoryList() {
        return Result.ok(settleCategoryMapper.queryCategoryList());
    }
}
